<?php

/**
 * Description of Conexao
 *
 * @author Jean Brito
 */
class Application_Model_Conexao extends Application_Model_Base {

	protected $_table = 'conexao';
	protected $_fields = Array(
			'id' => Array(
					'name' => 'id',
					'type' => 'identifier',
					'label' => 'Id',
			),
			'usuario' => Array(
					'name' => 'usuario',
					'type' => 'reference',
					'label' => 'Usuário',
					'model' =>'Utilitarios_Usuario',
			),
			'token' => Array(
					'name' => 'token',
					'type' => 'token',
					'label' => 'Token',
			),
			'ip' => Array(
					'name' => 'ip',
					'type' => 'text',
					'label' => 'IP',
			),
	);

}
